package com.core.dao;

import org.springframework.stereotype.Repository;

import com.core.base.dao.BaseHibernateDao;
import com.core.model.Users;

/**
 * 用户DAO
 * 
 * @author pt-chenqw
 *
 */
@Repository
public class UsersDAO extends BaseHibernateDao<Users>{
	
	/**
	 * 根据用户名删除用户
	 * @param userName
	 */
	public void deleteUserByUserName(Users users){
		delete(users);
	}
}
